//
//  SAHukidashi.h
//  01_kakin
//
//  Created by jon due on 12/03/29.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "messageClient.h"
#import "messageBean.h"

#import "ASIFormDataRequest.h"
#import "JSONKit.h"

typedef enum {
    HDReloadModeNormal,
    HDReloadModeAuto,
} HDReloadMode;

@interface SAHukidashi : UIView <ASIHTTPRequestDelegate> {
    int lastFileNo;
    HDReloadMode reloadMode;
    int lastSoundFileNo;
}
@property(nonatomic,retain)UIImageView *hukidashiImg;
@property(nonatomic,retain)UILabel *mainLabel;

@property(nonatomic,retain)NSArray *DataAry;
@property(nonatomic,retain)NSMutableArray *insertAry;


-(id)initReloadMode:(CGRect)frame mode:(HDReloadMode)mm;
-(void)setObject;

-(void)getHukidashiData;
-(CGSize)lineCalculation :(NSString*)str;
-(void)startHukidashi;
-(void)updateHukidashi;

@end
